<div class="page-heading">
    <form class="form-horizontal" role="form">
        <div class="form-group">
            <div class="col-md-4 col-sm-12 col-xs-12 form-group">
                <label class="col-lg-5 col-sm-4 control-label">用户名:</label>
                <div class="col-lg-7">
                    <input type="text" ng-model="userNameS" class="form-control"/>
                </div>
            </div>

            <div class="col-md-3 col-sm-12 col-xs-12 form-group">
                <input name="" type="button" ng-click="accountRecordDraw()" class="btn btn-info" value="查询"/>&nbsp;&nbsp;
                <input name="" type="button" ng-click="addUser('#adminListModal3')" class="btn btn-success" value="添加"/>
            </div>
        </div>
    </form>
</div>

<div class="wrapper">
    <div class="row">
        <div class="col-sm-12">
            <section class="panel panel-body ">
                <table class="table table-striped responsive-utilities jambo_table" id="userTable">
                    <thead>
                    <tr>
                        <th>用户ID</th>
                        <th>用户名</th>
                        <th>真实姓名</th>
                        <th>角色名称</th>
                        <th>邮箱地址</th>
                        <th>账号锁定状态</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
            </section>
        </div>
    </div>
</div>

<!-- /modal adminListModal -->
<div class="modal fade" id="adminListModal3" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title">
                    用户信息
                </h4>
            </div>
            <form id="addAdminForm3" class="cmxform form-horizontal">
                <div class="modal-body">
                    <input type="hidden" name="adminId" ng-model="adminId" value=""/>
                    <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">用户名 <span class="required">*</span>
                        </label>
                        <div class="col-md-9 col-sm-9 col-xs-12">
                            <input type="text" name="userName" ng-model="userName"
                                   class="form-control col-md-7 col-xs-12" placeholder="用户名">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">密码
                        </label>
                        <div class="col-md-9 col-sm-9 col-xs-12">
                            <input type="password" name="password" ng-model="password"
                                   class="form-control col-md-7 col-xs-12" placeholder="******">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">Email
                        </label>
                        <div class="col-md-9 col-sm-9 col-xs-12">
                            <input type="text" name="email" ng-model="email" class="form-control col-md-7 col-xs-12"
                                   placeholder="Email">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">状态
                        </label>
                        <div class="col-md-9 col-sm-9 col-xs-12">
                            <select class="form-control" ng-model="optlock">
                                <option value="">请选择</option>
                                <option value="0">开启</option>
                                <option value="1">关闭</option>
                            </select>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">真实姓名
                        </label>
                        <div class="col-md-9 col-sm-9 col-xs-12">
                            <input type="text" name="realName" ng-model="realName"
                                   class="form-control col-md-7 col-xs-12" placeholder="真实姓名">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12">角色<span class="required">*</span>
                        </label>
                        <div class="col-md-9 col-sm-9 col-xs-12">
                            <div class='add_class' style="padding-left:5px;">
                                <input name='all' ng-click='actionAll($event)' type='checkbox'/> 全选
                            </div>
                            <div id="menusp">
                                正在加载...
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-lg-offset-3 col-lg-9" id="addAdminFormErrorMsg"></div>
                    </div>

                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-success">提交</button>
                </div>
            </form>
        </div><!-- /.modal-content -->
    </div>
</div>
<!-- /modal adminListModal -->


<script src="../myJs/admin.js"></script>

